package zy03;

/**
 * @Author czl
 * @Date 2024-04-07
 */
public class MainTest {
    public static void main(String[] args) {
        GeZi geZi = new GeZi();

        ShiZi shiZi = new ShiZi();

        ShaYu shaYu = new ShaYu();

        BuRunAnimalSiYangYuan<BuRuAnimal> zs = new BuRunAnimalSiYangYuan<>();
        FeiQinAnimalSiYangYuan<FeiQinAnimal> ls = new FeiQinAnimalSiYangYuan<>();
        HaiYangAnimalSiYangYuan<HaiYangAnimal> sy = new HaiYangAnimalSiYangYuan<>();

        zs.weuYang(shiZi);

        ls.weuYang(geZi);

        // 体检 -鸽子
        ls.tiJian(geZi);

        //巡查 -鯊魚
        sy.xunCha(shaYu);

        //巡查 -獅子
        zs.xunCha(shiZi);
    }
}
